package com.example.springbatchdemo.job.itemProcessor;

import com.example.springbatchdemo.Person;
import lombok.extern.slf4j.Slf4j;
import org.springframework.batch.item.ItemProcessor;

/**
 * step procressor
 */
@Slf4j
public class MyItemProcessor  implements ItemProcessor<Person, Person> {


    @Override
    public Person process(Person person) throws Exception {
        log.info(" (" + person + ")");
        return person;
    }
}
